Vcenter Vm Hardware Disk CreateSpec

Vcenter Vm Hardware Disk CreateSpec
Vcenter Vm Hardware Disk CreateSpec

The Vcenter Vm Hardware Disk CreateSpec schema provides a specification for the configuration of a newly-created virtual disk.

JSON Example
{
    "type": "string",
    "ide": {
        "primary": false,
        "master": false
    },
    "scsi": {
        "bus": 0,
        "unit": 0
    },
    "sata": {
        "bus": 0,
        "unit": 0
    },
    "nvme": {
        "bus": 0,
        "unit": 0
    },
    "backing": {
        "type": "string",
        "vmdk_file": "string"
    },
    "new_vmdk": {
        "name": "string",
        "capacity": 0,
        "storage_policy": {
            "policy": "string"
        }
    }
}
string
type
Optional

Type of host bus adapter to which the device should be attached.

For more information see: Vcenter Vm Hardware Disk HostBusAdapterType.

If missing or null, guest-specific default values will be used

ide
Optional

Address for attaching the device to a virtual IDE adapter.

If missing or null, the server will choose an available address; if none is available, the request will fail.

scsi
Optional

Address for attaching the device to a virtual SCSI adapter.

If missing or null, the server will choose an available address; if none is available, the request will fail.

sata
Optional

Address for attaching the device to a virtual SATA adapter.

If missing or null, the server will choose an available address; if none is available, the request will fail.

nvme
Optional

Address for attaching the device to a virtual NVMe adapter.

This property was added in vSphere API 7.0.0.1.

If missing or null, the server will choose an available address; if none is available, the request will fail.

backing
Optional

Existing physical resource backing for the virtual disk. Exactly one of backing or new_vmdk must be specified.

If missing or null, the virtual disk will not be connected to an existing backing.

new_vmdk
Optional

Specification for creating a new VMDK backing for the virtual disk. Exactly one of backing or new_vmdk must be specified.

If missing or null, a new VMDK backing will not be created.